Skip to content

fix(commit): correct the stage checker before commiting#420

Merged
woile merged 2 commits intocommitizen-tools:masterfrom
xaviml:fix/clean-stage
Sep 12, 2021
Merged

fix(commit): correct the stage checker before commiting#420
woile merged 2 commits intocommitizen-tools:masterfrom
xaviml:fix/clean-stage

Conversation

@xaviml
Copy link
Contributor

@xaviml xaviml commented Sep 11, 2021

fixes #418

Checklist

  • Add test cases to all the changes you introduce
  • Run ./script/format and ./script/test locally to ensure this change passes linter check and test
  • Test the changes on the local machine manually
  • Update the documentation for the changes

This part of the code was not originally tested, since changing the code did not break the existing tests. If interested, I could add tests for this with real git calls.

I did not add this to the documentation or README since it fixes a behaviour that was supposed to happen already.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File stage checker not working as expected

2 participants